package com.gradle.quartz.batch.service.impl;

import com.gradle.bean.user.User;
import com.gradle.quartz.batch.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @author ldanniel
 */
@Service
public class UserServiceImpl implements UserService {
    @Override
    public User queryUserInfo(User user) {
        System.out.println("---------------开始执行UserServiceImpl.queryUserInfo方法---------");
        user.setUserName(user.getUserName().toUpperCase());
        return user;
    }
}
